package com.trkj.vo;

import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
/**
 * 部门vo
 * @author 吴山峰
 *
 */
public class DeptVo {
	@JSONField(name = "id")
	private Integer deptId;
	@JSONField(name = "text")
	private String deptname;
	@JSONField(name = "children")
	private List<EmpVo> emps;
	public Integer getDeptId() {
		return deptId;
	}
	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}
	public String getDeptname() {
		return deptname;
	}
	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}
	public List<EmpVo> getEmps() {
		return emps;
	}
	public void setEmps(List<EmpVo> emps) {
		this.emps = emps;
	}
	public DeptVo(Integer deptId, String deptname, List<EmpVo> emps) {
		super();
		this.deptId = deptId;
		this.deptname = deptname;
		this.emps = emps;
	}
	public DeptVo() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "DeptVo [deptId=" + deptId + ", deptname=" + deptname + ", emps=" + emps + "]";
	}
	
}
